﻿<%@ Page Title="" Language="VB" MasterPageFile="~/Pages/Inicio.master" AutoEventWireup="false" CodeFile="RRHHListadoPersonal.aspx.vb" Inherits="Pages_Default" %>

<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
         <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
        </asp:ToolkitScriptManager>   

    <div class="estandardiv" >
    <br />
    <div class="subtittle" >Listado Personal - ATSAC</div>
    <br />
        <center>
        <table style="width:70%">
            <tr><td class="textright">Local</td>
                <td class="textleft">
                    <asp:DropDownList ID="ddlbLocal" runat="server" CssClass="textleft" Width="150px">
                    </asp:DropDownList>
                </td>
                <td class="textright">Area</td>
                <td class="textleft">
                    <asp:DropDownList ID="ddlbArea" runat="server" CssClass="textleft" Width="150px">
                    </asp:DropDownList>
                </td>
                <td class="textright">Cargo</td>
                <td class="textleft">
                    <asp:DropDownList ID="ddlbCargo" runat="server" CssClass="textleft" Width="150px">
                    </asp:DropDownList>
                </td>
                <td class="textleft">
                    <asp:ImageButton ID="imgBuscar" runat="server" ImageUrl="~/Images/texto/btnBuscar.png" />
                </td>
            </tr>
            <tr><td class="textright">Empleado</td>
                <td class="textleft">
                    <asp:TextBox ID="txbEmpleado" runat="server" CssClass="textleft" Width="140px"></asp:TextBox>
                </td>
                <td class="textright">Nro Documento</td>
                <td class="textleft">
                    <asp:TextBox ID="txbNroDocumento" runat="server" CssClass="textleft" Width="140px"></asp:TextBox>
                </td>
                <td class="textright">Estado</td>
                <td class="textleft">
                    <asp:DropDownList ID="ddlbEstado" runat="server" CssClass="textleft" Width="150px">
                    </asp:DropDownList>
                </td>
                <td class="textleft">
                    <asp:ImageButton ID="ibtnAgregar" runat="server" ImageUrl="~/Images/texto/btnAgregar.png" />
                </td>
            </tr>
        </table>
        <br />
        <asp:GridView ID="gridEmpleado" runat="server" AllowPaging="True" AutoGenerateColumns="False" BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" CellPadding="3" Font-Names="Arial" Font-Size="11px" PageSize="20" Width="90%">
            <Columns>
                <asp:BoundField DataField="CodEmpleado" HeaderText="Codigo" SortExpression="CodEmpleado" >
                <ItemStyle Width="40px" />
                </asp:BoundField>
                <asp:BoundField DataField="Empleado" HeaderText="Empleado" SortExpression="Empleado" >
                <ItemStyle CssClass="textleft" />
                </asp:BoundField>
                <asp:BoundField DataField="NroDocumento" HeaderText="Documento" SortExpression="NroDocumento" >
                <ItemStyle Width="100px" CssClass="textleft" />
                </asp:BoundField>
                <asp:BoundField DataField="NomLocal" HeaderText="Local" SortExpression="NomLocal" >
                <ItemStyle CssClass="textleft" />
                </asp:BoundField>
                <asp:BoundField DataField="NomArea" HeaderText="Área" SortExpression="NomArea" >
                <ItemStyle CssClass="textleft" />
                </asp:BoundField>
                <asp:BoundField DataField="NomCargo" HeaderText="Cargo" SortExpression="NomCargo" >
                <ItemStyle CssClass="textleft" />
                </asp:BoundField>
                <asp:BoundField DataField="CondiSueldo" HeaderText="Condición" SortExpression="CondiSueldo" >
                <ItemStyle CssClass="textleft" Width="70px" />
                </asp:BoundField>
                <asp:BoundField DataField="Estado" HeaderText="Estado" SortExpression="Estado" >
                <ItemStyle CssClass="textleft" Width="60px" />
                </asp:BoundField>
                <asp:TemplateField>
                    <ItemTemplate>
                        <asp:ImageButton ID="ibtnEditar" runat="server" CommandName ="cnEditar" ImageUrl="~/Images/img/editarRegistro.png" />
                        <asp:ImageButton ID="ibtnAnular" runat="server" CommandName ="cnAnular" ImageUrl="~/Images/img/anulaRegistro.png" />
                    </ItemTemplate>
                    <ItemStyle Width="40px" CssClass="textleft" />
                </asp:TemplateField>
            </Columns>
            <EmptyDataTemplate>
                No existen registros a mostrar
            </EmptyDataTemplate>
            <FooterStyle BackColor="White" ForeColor="#000066" />
            <HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
            <RowStyle ForeColor="#000066" />
            <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
            <SortedAscendingCellStyle BackColor="#F1F1F1" />
            <SortedAscendingHeaderStyle BackColor="#007DBB" />
            <SortedDescendingCellStyle BackColor="#CAC9C9" />
            <SortedDescendingHeaderStyle BackColor="#00547E" />
        </asp:GridView>

        <br />
        <div class="textleft" style="width:90%" >
            <asp:Label ID="LblTotal" CssClass="textleft" runat="server" Text="Total: 0 Registro(s)"></asp:Label></div>
        </center>
    </div>

</asp:Content>

